package window;

import java.awt.*;

public class Explode {
    double x, y;
    int count;
    static Image image[] = new Image[16];

    static {
        for (int i = 0; i <16; i++) {
            image[i] = GameUtil.getImage("images/explode/e" + (i + 1) + ".gif");
        }
    }

    public void draw(Graphics g) {
        for (int i = 0; i < 16; i++) {
            g.drawImage(image[i], (int) x, (int) y, null);
        }
    }

    public Explode(double x, double y) {
        this.x = x;
        this.y = y;
    }
}
